package com.dongrj.framework.starter.log.send;

import com.dongrj.framework.starter.log.model.ELKModel;

/**
 * @author dongrongjun
 * @date 2020/06/18
 */
public interface ElkSend {

    void send(ELKModel elkModel);

    /**
     * 将信息发送到ELK
     *
     * @param elkModel 日志内容
     */
    default void toElk(ELKModel elkModel) {
//        UDPUtils.sendMsg(elkModel);
    }
}
